package ycl.common.models.req.login;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author YCL
 * @date 2022/01/20 11:18:37
 */
@Data
@ApiModel("微信登录")
public class WechatLoginReq {

	@Schema(description = "用户微信id")
	@NotBlank(message = "用户微信id不能为空")
	private String wechatId;

	//@Schema(description = "用户ip, 目前开发阶段, 默认127.0.0.1, 后续会封上")
	//@NotBlank(message = "用户微信id不能为空")
	@Schema(description = "用户ip, 目前开发阶段, 默认127.0.0.1, 后续会封上")
	private String ip = "127.0.0.1";
}
